<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>便民服务平台3.0</title>
    <link rel="stylesheet" href="<c:url value='/resource/css/bootstrap.css'/>">
    <link rel="stylesheet" href="<c:url value='/resource/css/darktooltip.css'/>">
    <link rel="stylesheet" href="<c:url value='/resource/css/animate.min.css'/>">
    <link rel="stylesheet" href="<c:url value='/resource/css/style.css'/>">


</head>

<body>
<jsp:include page="../include/header.jsp"></jsp:include>
<script src="<c:url value='/resource/js/lib/template.js'/>"></script>
<script src="<c:url value='/resource/js/lib/jqPaginator.js?v2.1'/>"></script>
<style type="text/css">
    .td_middle {
        vertical-align: middle !important;
    }
    .goPageURL { text-align: center; width: 300px; margin: 50px auto;}
    .goPageURL i {font-size: 48px;}
    .goPageURL h3 { font-size: 16px; padding: 15px 0; line-height: 32px;}
</style>

<div class="main-container">
    <div class="mc-hd">
        <p class="app-t">queryCenter</p>
        <h1 class="app-h1">专注高端”互联网+政务”设计</h1>
        <div class="type-wrap">
            <h2 class="typedH2">慧眼看世界，在政务服务的路上不断追求创新！</h2>
        </div>
    </div>
    <div class="mc-bd">

        <div class="container">
            <div class="goPageURL">
                <i class="glyphicon glyphicon-ok text-green"></i>
                <h3>提交成功,我们尽快会为你处理,系统将在<span id="spanTime" style="color:#f00"></span>后自动跳转至<a href="${gotoUrl}">个人中心</a>。</h3>
            </div>
        </div>

    </div>
</div>

<jsp:include page="../include/footer.jsp"/>
<script src="<c:url value='/resource/js/require.js'/>" data-main="<c:url value='/resource/js/main.js'/>"
        id="current-page" current-page="appCenter"></script>

<script src="<c:url value='/resource/js/app/laydate/laydate.js'/>"></script>
<script type="text/javascript">
    var wait=300;
    timeOut();

    $(function(){
        $('#spanTime').text(wait);
    })
    function timeOut(){
        if(wait==0){
            self.location.href = '${gotoUrl}';
        }else{
            setTimeout(function(){
                wait--;
                /* to do */
                $('#spanTime').text(wait);
                timeOut();
            },1000)
        }
    }
</script>
</body>
</html>
